package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationClassification;
import com.yuxi.Entity.InformationSource;
/**
 *信息分级操作接口
 * @author hunter
 * @version 1.0
 * 2016/07/18
 */


@Repository
public interface InformationClassificationDao {
	/**
	 * 通过InformationClassificationID获取InformationClassification
	 * @param 	InformationClassificationID
	 * @return InformationClassification 
	 * */
	public InformationClassification getClassification(Integer id);
	/**
	 * 删除一个InformationClassification  并返回删除的实体类
	 * @param 	InformationClassificationID
	 * @return InformationClassification 
	 * */
	public void deleteClassification(InformationClassification iClassification);
	/**
	 * 添加一个InformationClassification  并返回添加的实体类
	 * @param iClassification  InformationClassification实体类
	 * @return InformationClassification 
	 * */
	public InformationClassification addClassification(InformationClassification iClassification);
	/**
	 * 修改一个InformationClassification  并修改添加的实体类
	 * @param iClassification  InformationClassification实体类
	 * @return InformationClassification 
	 * */
	public void modifyClassification(InformationClassification iClassification);
	/**
	 * 获取所有信息分级
	 * @param 	
	 * @return List<InformationSort> 
	 * */
	public List<InformationClassification> getAllInformationClassification();
}
